package com.mybatis.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;


/*
测试类，与课设毫无关系
* */
public class User {
    private Integer id;
    private String name;
    private String password;
    private int type;

    public User(Integer id, String name, String password, int type) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.type = type;
    }
//    private Integer age;
//    private String gender;
//    private String email;
//    private LocalDate time;

    public User() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}

